//
//  NTBaseViewController.m
//  NTBaseModule
//
//  Created by hongdong.yu on 2019/1/10.
//  Copyright © 2019年 上海宏鹿信息技术服务有限公司. All rights reserved.
//

#import "NTBaseViewController.h"
#import <AFNetworking/AFNetworking.h>

@interface NTBaseViewController ()

@end

@implementation NTBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    [manager POST:@"" parameters:@"" progress:nil success:^(NSURLSessionDataTask * _Nonnull task, id  _Nullable responseObject) {
        NSLog(@"%@",responseObject);
    } failure:^(NSURLSessionDataTask * _Nullable task, NSError * _Nonnull error) {
        NSLog(@"%@",error);
    }];
    
    UIImageView *imageView = [[UIImageView alloc]init];
    imageView.image = [UIImage imageNamed:@"bg_goods_banner"];
    imageView.frame = CGRectMake(0, 100, 100, 100);
    [self.view addSubview:imageView];
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
